Skip to content

Conversation

@jbrody-nexxa
Copy link
Contributor

@jbrody-nexxa jbrody-nexxa commented Jul 31, 2025

What was changed

Added missing v0.32 attribute to pinned override in workflow-options.ts

Why?

Bugfix for #1753

Checklist

  1. Closes [Bug] Calling a Workflow with Worker Versioning and PINNED behavior in versionOverrides fails in Temporal Server >=1.28.0 #1753

  2. How was this tested:
    Covered by existing integration test: test-worker-deployment-versioning.ts

  • Before my change, on server version 1.27.1, this integration test passes
  • Before my change, on server version 1.28.0, this integration test fails:
@temporalio/test:   worker-deployment-versioning › Workflow versioningOverride overrides default versioning behavior
@temporalio/test:   Rejected promise returned by test. Reason:
@temporalio/test:   ServiceError {
@temporalio/test:     cause: Error {
@temporalio/test:       code: 3,
@temporalio/test:       details: 'must specify pinned override behavior if override is pinned.',
@temporalio/test:       metadata: Metadata {
@temporalio/test:         internalRepr: Map { … },
@temporalio/test:         options: {},
@temporalio/test:       },
@temporalio/test:       message: '3 INVALID_ARGUMENT: must specify pinned override behavior if override is pinned.',
@temporalio/test:     },
@temporalio/test:     message: 'Failed to start Workflow',
@temporalio/test:   }
@temporalio/test:   › TimeSkippingWorkflowClient.rethrowGrpcError (/Users/johnbrody/github/sdk-typescript/packages/client/src/workflow-client.ts:911:13)
@temporalio/test:   › TimeSkippingWorkflowClient._startWorkflowHandler (/Users/johnbrody/github/sdk-typescript/packages/client/src/workflow-client.ts:1264:12)
@temporalio/test:   › async TimeSkippingWorkflowClient.start (/Users/johnbrody/github/sdk-typescript/packages/client/src/workflow-client.ts:566:19)
@temporalio/test:   › async <anonymous> (src/test-worker-deployment-versioning.ts:393:20)
  • After my change, on both server version 1.27.1 and 1.28.0, this integration test passes
  1. Any docs updates needed?
    No

Copy link
Contributor

@mjameswh mjameswh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @jbrody-nexxa, that indeed seems right.

@mjameswh mjameswh merged commit 260b570 into temporalio:main Jul 31, 2025
43 of 44 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Calling a Workflow with Worker Versioning and PINNED behavior in versionOverrides fails in Temporal Server >=1.28.0

2 participants